<%@page import="Model.Supplier.SupplierList"%>
<%@page import="Model.User.UserList"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
     CookieHelper cookie = new CookieHelper(request, response);
     UserList ult= new UserList(pageContext);
     SupplierList suv = new SupplierList(pageContext);
     suv.request();
     suv.remove("shengid","shiid","xianid","fulladress");
     suv.keyvalue("myid",cookie.Get("myid"));
     if (suv.select("myid").where("myid=?",cookie.Get("myid")).get_first_rows()) {
        suv.update().where("myid=?", cookie.Get("myid")).submit();
    } else {
        suv.append().submit();
    }
     ult.request();
     ult.remove("attr","yong","legal","enterpriseurl","mainproducts","enterprisejs","englishname","pattern");
     ult.update().where("myid=?",cookie.Get("myid")).submit();
     out.print("1");
%>
